<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>json的forEach</title>
    <script src="../zujian/han/han.js"></script>
</head>
<body>
<script type="text/javascript">

    //这个是node的用法,在js中没用
    var k={"type":"Buffer","data":[1,2,3,4,5]}
    JSON.parse(k,(key,value)=>{
        console.log(k)
        console.log(value)
    })
</script>
</body>
</html>